package com.example.day_day_up.entity.constants;

public class Constants {
    public static String DEFAULT_URL = "/day_day_up/";

    public static String ROLE_MANAGER = "管理员";
    public static String ROLE_STUDENT = "学生";

    // 响应有关
    public static String RES_CODE = "code";
    public static String RES_MSG = "msg";
    public static String RES_DATA = "data";

    public static String CODE_KEY = "code_key";

    public static String USER_KEY = "user_key";
    public static String USERS_KEY = "users_key";
    public static String DEFAULT_AVATAR = "file/avatar.jpg";

    public static String COURSES_KEY = "courses_key";
    public static String COURSE_KEY = "course_key";

    public static String MATERIALS_KEY = "materials_key";
    public static String MATERIAL_KEY = "material_key";

    public static String EXAMS_KEY = "exams_key";
    public static String EXAM_KEY = "exam_key";

    // user 分页有关
    public static String CURRENT_PAGE = "current_page";
    public static String TOTAL_PAGE = "total_page";
    public static int PAGE_SIZE = 8;

    // 日期格式
    public static String DATE_STR_FORMAT = "yyyy-MM-dd HH:mm:ss";
}
